package com.yanqu.road.entity.sacrifice;

import com.yanqu.road.entity.DataObject;

import java.math.BigInteger;
import java.util.Objects;

public class UserSacrifice extends DataObject {

	private long userId;

	private long modifyTime;

	private long totalKillBossTimes;

	private BigInteger todayDamage = BigInteger.ZERO;

	private long abilityRecordMark;

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		if(this.userId != userId) {
			this.userId = userId;
			setUpdateOption();
		}
	}

	public long getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(long modifyTime) {
		if(this.modifyTime != modifyTime) {
			this.modifyTime = modifyTime;
			setUpdateOption();
		}
	}

	public long getTotalKillBossTimes() {
		return totalKillBossTimes;
	}

	public void setTotalKillBossTimes(long totalKillBossTimes) {
		if(this.totalKillBossTimes != totalKillBossTimes) {
			this.totalKillBossTimes = totalKillBossTimes;
			setUpdateOption();
		}
	}

	public BigInteger getTodayDamage() {
		return todayDamage;
	}

	public void setTodayDamage(BigInteger todayDamage) {
		if(!Objects.equals(this.todayDamage, todayDamage)) {
			this.todayDamage = todayDamage;
			setUpdateOption();
		}
	}

	public long getAbilityRecordMark() {
		return abilityRecordMark;
	}

	public void setAbilityRecordMark(long abilityRecordMark) {
		if(this.abilityRecordMark != abilityRecordMark) {
			this.abilityRecordMark = abilityRecordMark;
			setUpdateOption();
		}
	}
}
